<?php
extract($fieldinfo);
$setting = string2array($setting);
$size = $setting['size'];
if(!$value) $value = $defaultvalue;
return "<input type='text' name='info[$field]' id='$field' value='$value' class='input-text' size='$size' {$formattribute} {$css}>";